from django import forms

class ContactForm(forms.Form):
    """
    A contact form
    """
    name = forms.CharField(max_length=100)
    email = forms.EmailField()
    url = forms.URLField(required=False)
    phone = forms.CharField(required=False)
    subject = forms.CharField(max_length=100)
    message = forms.CharField(widget=forms.Textarea)
